export interface OptionDef {
  label: string
  value: string
}

export interface TopArtistQuery {
  type: number
  area: number
  initial: number | string
  limit: number
  offset: number
}

export interface Option {
  label: string
  value: Type
  option: Array<{
    label: string
    value: string | number
  }>
}

export type Type = 'area' | 'type' | 'initial'

export interface ArtistSongQuery extends ArtistCommonQuery {
  order: string
}

export interface ArtistCommonQuery {
  id: number
  limit: number
  offset: number
}

export interface KindPlaylistQuery {
  cat: string | number
  before: string | number
  limit: number | string
}

/**
 * 播放列表
 */
export interface PlayListInfo {
  id: number
  picUrl: string
  name: string
  author: string
  timestamp: number | string
}
